# if 5>12:
#     print("5 is greater than 2")
#     print("222222222")
# else:
#     print("2 is not greater than 5")
#
#
#
#
#
# age = 30
# if age < 18:
#     print("You are underage")
#     ##&&不可用,用and代替,
# elif age >= 18 and age < 30:
#     print("You are young")
# elif age >=30 and age < 50:
#     print("You are middle age")
# else:
#     print("You are old")
#
#
# year = int(input("输入年份"))
# if(year%4==0 and year % 100!=0) or (year %400==0):
#     print("%d 是闰年" %year)
# else:
#     print("%d 不是闰年" %year)


#a b c 比较大小
a= int(input("输入a: "))
b= int(input("输入b: "))
c= int(input("输入c: "))
if a>b:
    if a>c:
        print("a最大")
    else:
        print("c最大")
else:
    if b>c:
        print("b最大")
    else:
        print("c最大")



#实现+-*/
num1 = int(input("输入第一个数字: "))
op = input("输入运算符(+,-,*,/): ")
num2 = int(input("输入第二个数字: "))
if op == "+":
    print(num1+num2)
elif op == "-":
    print(num1-num2)
elif op == "*":
    print(num1*num2)
elif op == "/":
    if num2 == 0:
        print("除数不能为0")
    else:
        print(num1/num2)
else:
    print("输入错误")